package main

/*
import (
	"clientDemo/ui/fyne_ui/test/spine_test/spine"
	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/canvas"
	"fyne.io/fyne/v2/theme"
	"image/color"

	// 假设的spine包，您需要实现或找到相应的Go包
	"github.com/yourusername/spine-go"
)

func main() {
	myApp := app.New()
	myWindow := myApp.NewWindow("Spine Animation Example")

	// 创建Spine动画
	spineAnimation, err := spine.NewAnimation("path/to/your.animation.skel", "path/to/your.animation.atlas")
	if err != nil {
		panic(err)
	}

	// 设置动画的尺寸和位置
	spineAnimation.SetMinSize(fyne.NewSize(300, 300))
	spineAnimation.Move(fyne.NewPos(50, 50))

	// 将Spine动画添加到窗口中
	myWindow.SetContent(spineAnimation)

	// 设置窗口属性
	myWindow.Resize(fyne.NewSize(800, 600))
	myWindow.SetTheme(theme.LightTheme())
	myWindow.Show()

	// 运行应用程序
	myApp.Run()
}
*/
